/* BTrace Script Template */


import org.openjdk.btrace.core.annotations.BTrace;
import org.openjdk.btrace.core.annotations.OnMethod;

import static org.openjdk.btrace.core.BTraceUtils.jstack;
import static org.openjdk.btrace.core.BTraceUtils.println;

@BTrace
public class TracingTest {
    /* put your code here */
    @OnMethod(
            clazz = "sync.SyncDemo",
            method = "test"
    )
    public static void traceExecute() {
        println("call test");
        jstack();
    }
}